package com.tongqin.distributed;

import javax.management.remote.rmi.RMIServer;

/**
 * @author yuantongqin
 * @date 2018/7/9 下午3:40
 */
public class Server {

    public static void main(String[] args) {

        //这里做一个服务的发布

        IHelloService service = new HelloService();
        RpcServer server = new RpcServer();
        server.publisher(service,8888);




    }
}
